//写下我们常见的屏幕尺寸 修改html里的样
//先定义一个 一定要写在最上面
//划分为15等分 屏幕 / 15 就是文字的大小
//html是常见的pc端页面，当我们在pc端访问时，直接把文字大小设置为50px
* {
    margin: 0;
    padding: 0;
}
html {
    font-size: 50px;
}
body {
    min-width: 320px;
    width: 15rem;
    margin: 0 auto;
    line-height: 1.5;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #F2F2F2;
    /* background-color: purple; */
    //height: (2000rem / @basefont);
}
div {
    box-sizing: border-box;
}
/* ======flex 垂直居中 水平居中 center_VH 给父亲及、加======*/
.center_VH {
    /* 水平垂直 */
    display: flex;
    justify-content: center;
    align-items: center;
}
.center_V {
    /* 垂直居中 */
    display: flex;
    align-items: center;
}
.center_H {
    /* 水平居中 */
    display: flex;
    justify-content: center;
}
.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
/* 阿里字体 */
@font-face {
    font-family: 'iconfont';
    src: url('iconfont.ttf?t=1629984090731') format('truetype');
  }
  /* fonts/icomoon.eot?cvlwwh */
/* 引入字体图标 */
@font-face {
    font-family: 'icomoon';
    src:url('../icomoon/fonts/icomoon.eot?cvlwwh');
    src: url('../icomoon/fonts/icomoon.eot?cvlwwh#iefix') format('embedded-opentype'),
      url('../icomoon/fonts/icomoon.ttf?cvlwwh') format('truetype'),
      url('../icomoon/fonts/icomoon.woff?cvlwwh') format('woff'),
      url('../icomoon/fonts/icomoon.svg?cvlwwh#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }
@no:15;
@media screen and (min-width: 320px) {
    html {
        font-size: (320px / @no);
    }
}

@media screen and (min-width: 360px) {
    html {
        font-size: (360px / @no);
    }
}

@media screen and (min-width: 375px) {
    html {
        font-size: (375px / @no);
    }
}

@media screen and (min-width: 384px) {
    html {
        font-size: (384px / @no);
    }
}

@media screen and (min-width: 400px) {
    html {
        font-size: (400px / @no);
    }
}

@media screen and (min-width: 414px) {
    html {
        font-size: (414px / @no);
    }
}

@media screen and (min-width: 424px) {
    html {
        font-size: (424px / @no);
    }
}

@media screen and (min-width: 480px) {
    html {
        font-size: (480px / @no);
    }
}

@media screen and (min-width: 540px) {
    html {
        font-size: (540px / @no);
    }
}

@media screen and (min-width: 720px) {
    html {
        font-size: (720px / @no);
    }
}

@media screen and (min-widyh: 750px) {
    html {
        font-size: (750px / @no);
    }
}
